/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.femto.math.linalg;

/**
 *
 * @author root
 */
public class LinalgTester {
    public static void main(String[] args) {
        System.out.println("Testing Matrix4x4");

        double[] array =
        { 1, 1, 0, 1,
          0, 6, 0, 1,
          0, 0, 1, 0,
          0, 0, 0, 1 };

        Matrix4x4 A = new Matrix4x4(array);
        System.out.println(A);
        System.out.println(A.inverse());
        System.out.println(Matrix4x4.mul(A,A.inverse()));
        
        A.setRotatation(new Vec3(1,1,1), 90);
        System.out.println(Matrix4x4.mul(A,A.inverse()));

    }
}
